package com.onesports.intelligent.k12.polarlight.mapper.market;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.onesports.intelligent.k12.polarlight.domain.dto.operation.CashPageOrderDTO;
import com.onesports.intelligent.k12.polarlight.domain.dto.operation.FtbPageOrderDTO;
import com.onesports.intelligent.k12.polarlight.domain.vo.operation.FundsTradeBillPageVO;
import com.onesports.intelligent.k12.polarlight.domain.vo.operation.FundsTradeBillTotalVO;
import com.onesports.intelligent.k12.polarlight.domain.vo.order.CashOrderPageVO;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.onesports.intelligent.k12.polarlight.domain.entity.market.FundsTradeBill;
import org.apache.ibatis.annotations.Param;

/**
 * 财务流水表(充值提现)
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Mapper
public interface FundsTradeBillMapper extends BaseMapper<FundsTradeBill> {

    /**
     *运营端-分页查询账单信息
     * @param fundsTradeBillPageVOPage
     * @param ftbPageOrderDTO
     * @return
     */
    IPage<FundsTradeBillPageVO> findPage(Page<FundsTradeBillPageVO> fundsTradeBillPageVOPage, @Param("dto")FtbPageOrderDTO ftbPageOrderDTO);
    FundsTradeBillTotalVO findPageTotal(Page<FundsTradeBillPageVO> fundsTradeBillPageVOPage, @Param("dto")FtbPageOrderDTO ftbPageOrderDTO);
    IPage<CashOrderPageVO> findCashPage(Page<CashOrderPageVO> cashOrderPageVOPage,@Param("dto")CashPageOrderDTO dto);
}
